package com.cicoding.service;

import java.util.List;

import com.baomidou.mybatisplus.service.IService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.cicoding.bean.Notice;
import com.cicoding.bean.ShowNotice;
import com.cicoding.dao.NoticeMapper;
import com.cicoding.dto.FileNotice;

public interface NoticeService extends IService<Notice> {
	
	public List<Notice> getAllNotice();
	/**
	 * 主页显示的15个Notice
	 * @return
	 */
	public List<Notice> getIndexNotice();
	
	public List<ShowNotice> getAllShowNotice();
	
	public int sendSystemNotice(Notice notice);

	FileNotice getFileNotice(Integer id);
	
	public int sendConmonNotice(String body , String recive);
	
	
	
}
